Conversation
|
Thank you for your contribution sushil490023! We will review the pull request and get back to you soon. |
|
automation |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@sushil490023 Could you please resolve those CI issues? |
src/automation/azext_automation/aaz/latest/automation/python3package/__cmd_group.py
Outdated
Show resolved
Hide resolved
src/automation/azext_automation/aaz/latest/automation/python3package/_create.py
Outdated
Show resolved
Hide resolved
src/automation/azext_automation/tests/latest/test_automation_scenario_manual.py
Outdated
Show resolved
Hide resolved
src/automation/azext_automation/aaz/latest/automation/python3_package/_list.py
Outdated
Show resolved
Hide resolved
src/automation/azext_automation/aaz/latest/automation/python3_package/_create.py
Outdated
Show resolved
Hide resolved
src/automation/azext_automation/aaz/latest/automation/python3_package/_delete.py
Outdated
Show resolved
Hide resolved
| """Retrieve the python 3 package identified by package name. | ||
|
|
||
| :example: Get Python3Package by Name | ||
| az automation python3-package show --automation-account-name "MyAutomationAccount" --resource-group "MyResourceGroup " --name "PackageName" |
There was a problem hiding this comment.
| az automation python3-package show --automation-account-name "MyAutomationAccount" --resource-group "MyResourceGroup " --name "PackageName" | |
| az automation python3-package show --automation-account-name "MyAutomationAccount" --resource-group "MyResourceGroup" --name "PackageName" |
There was a problem hiding this comment.
Removed spaces Thanks for pointing out
|
@sushil490023, |
|
@sushil490023, |
Examples are manually written in Workspace Editors right now. |
I have deleted python3package directories |
@sushil490023 This is because the api-version of Compute RP in Please pull the latest main CLI code from the dev branch of Azure/azure-cli repo first, and re-record those failed tests locally and then pushing them into this PR |
| """Create or Update the python 3 package identified by package name. | ||
|
|
||
| :example: Add Python3 Package to automation account | ||
| az automation python3-package create --automation-account-name "MyAutomationAccount" --resource-group "MyResourceGroup" --name "PackageName" --content-link "uri=https://PackageUri.com" |
There was a problem hiding this comment.
| az automation python3-package create --automation-account-name "MyAutomationAccount" --resource-group "MyResourceGroup" --name "PackageName" --content-link "uri=https://PackageUri.com" | |
| az automation python3-package create --automation-account-name "MyAutomationAccount" --resource-group "MyResourceGroup" --name "PackageName" --content-link "uri=https://PackageUri.com" | |
| """Get a hybrid runbook worker group. | ||
| """ |
There was a problem hiding this comment.
I see that examples have been added to commands under automation hrwg hrw group, but there still seems to be no examples for commands under automation hrwg group
There was a problem hiding this comment.
i have added required examples
|
Please add the description of PR changes in the |
Updated |
src/automation/HISTORY.rst
Outdated
|
|
||
| 0.2.1 | ||
| ++++++ | ||
| * `az automation python3-package`: Add new command group to support managing python3 Package operations. |
There was a problem hiding this comment.
| * `az automation python3-package`: Add new command group to support managing python3 Package operations. | |
| * `az automation python3-package`: Add new command group to support managing python3 package operations. |
| """Delete a hybrid runbook worker group. | ||
|
|
||
| :example: Delete hybrid worker group | ||
| az automation hrwg delete --automation-account-name accountName --resource-group groupName --name hybridrunbookworkergroupName |
There was a problem hiding this comment.
| az automation hrwg delete --automation-account-name accountName --resource-group groupName --name hybridrunbookworkergroupName | |
| az automation hrwg delete --automation-account-name accountName --resource-group groupName --name hybridrunbookworkergroupName | |
| """Get hybrid worker group | ||
|
|
||
| :example: Get hybrid worker group | ||
| az automation hrwg show --automation-account-name accountName --resource-group groupName --name hybridrunbookworkergroupName |
There was a problem hiding this comment.
| az automation hrwg show --automation-account-name accountName --resource-group groupName --name hybridrunbookworkergroupName | |
| az automation hrwg show --automation-account-name accountName --resource-group groupName --name hybridrunbookworkergroupName | |
| """Update a hybrid runbook worker group. | ||
|
|
||
| :example: Update hybrid worker group | ||
| az automation hrwg update --automation-account-name accountName --resource-group groupName --name hybridrunbookworkergroupName --credential "{name: credentialname}" |
There was a problem hiding this comment.
| az automation hrwg update --automation-account-name accountName --resource-group groupName --name hybridrunbookworkergroupName --credential "{name: credentialname}" | |
| az automation hrwg update --automation-account-name accountName --resource-group groupName --name hybridrunbookworkergroupName --credential "{name: credentialname}" | |
There was a problem hiding this comment.
@kairu-ms I find it is easy to mistype extra spaces when he enters examples by Workspace Editors.
I'm not sure if this is a common problem. If so, could we trim the user's input to eliminate the extra spaces in Workspace Editors?
There was a problem hiding this comment.
I've added a new task in CodeGen V2 project plan. We will fix it when work on examples validation.
|
@sushil490023,
|
|
@microsoft-github-policy-service agree [company="Microsoft"] |
1 similar comment
|
@microsoft-github-policy-service agree [company="Microsoft"] |
|
@microsoft-github-policy-service agree company="Microsoft" |
@sushil490023 Since these commands are existing commands, you may can consider submitting a PR separately to supplement these test cases. So we can merge the PR first, and then review the PR for supplementing test cases. What do you think of it? |
Yes i think that would be much helpful and i will create sperate PR for adding scenario test cases for left over test cases of Hybrid runbook worker |
|
@microsoft-github-policy-service agree company="Microsoft" |
|
@microsoft-github-policy-service agree |
|
Force skip license/cla checks to merge this PR. |
|
[Release] Update index.json for extension [ automation ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=11062&view=results |


This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.jsonautomatically.The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify
src/index.json.